Combine button Problem

Hello,
i have a programm

void rt(DBE) {
:
:
:
}

void xy(DBE) {
:
:
:
}

now i use

rt = button(exBox, "Ok", rt)
rt = button (exBox, "Run", xy)

now i will combine these two things to one

Pleas help
SystemAdmin - Tue Sep 07 09:38:53 EDT 2010

Re: Combine button Problem
Mathias Mamsch - Tue Sep 07 16:20:59 EDT 2010

You cannot use "rt" for the function AND the variable:
 

void rt(DBE) {
// code
}
 
void xy(DBE) {
// code
}
 
DBE bt1 = button(exBox, "Ok", rt)
DBE bt2 = button (exBox, "Run", xy)

 


Regards, Mathias

 

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

 

Re: Combine button Problem
SystemAdmin - Wed Sep 08 02:23:28 EDT 2010

Mathias Mamsch - Tue Sep 07 16:20:59 EDT 2010

You cannot use "rt" for the function AND the variable:
 

void rt(DBE) {
// code
}
 
void xy(DBE) {
// code
}
 
DBE bt1 = button(exBox, "Ok", rt)
DBE bt2 = button (exBox, "Run", xy)

 


Regards, Mathias

 

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

 

Of course i can, it works. But that are not my problem

Re: Combine button Problem
SystemAdmin - Wed Sep 08 02:49:57 EDT 2010

SystemAdmin - Wed Sep 08 02:23:28 EDT 2010
Of course i can, it works. But that are not my problem

Now i have solved the problem.